﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("学生");
            Student S1 = new Student();
            S1.Id = 10010;
            S1.Name = "张三";
            S1.Sex = '男';
            S1.Tel = 12306;
            S1.Major = "软件技术";
            S1.Grade = "大一";
            S1.Cardid = 3509820;
            S1.Hello();

            Console.WriteLine("教师");
            Teacher T1 = new Teacher();
            T1.Id = 10086;
            T1.Name = "李四";
            T1.Sex = '男';
            T1.Tel = 12311;
            T1.Cardid = 3509822;
            T1.Title = "辅导员";
            T1.Wageno = 666;
            T1.Hello();
        }
    }
}
